﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iFrameMasterPage.master" AutoEventWireup="true" CodeFile="iFarmeDictionary_TreeDictonary.aspx.cs" Inherits="iFarmeDictionary_ConstractionType" %>


<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
    <table style="width: 100%;">
    <tr>
        <td style ="width :235px">
        <asp:Button ID=btnnew0 runat="server" Visible =<%# !IsSystemDictionry %> Enabled =<%# EnableAdd %> Text="Добавить" CssClass ="btn"  
                OnClick ="AddButton_Click"  />
            
        <asp:Button ID=btnDel runat="server" Enabled =<%# EnableDel %> Visible =<%# !IsSystemDictionry %>  Text="Удалить" CssClass ="btn"  
                OnClick ="btnDel_Click" Height="22px"  />
            
        </td>
        <td>
            </td>
        
        <td style ="text-align :right ">        
        <asp:Button ID=btnSave Visible =<%# !IsSystemDictionry %>  runat="server" Text="Сохранить" CssClass ="btn"  
                OnClick ="btnSave_Click"  />
            
        </td>
    </tr>
    
</table> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
    <table style="width: 100%;">
        <%--<tr class ="TblCaption">
            <td width="50%">
                
                </td>
            <td>
                
                </td>
        </tr>--%>
        <tr>
            <td width="50%" style ="vertical-align:top " >                
                <asp:TreeView ID="tvDictionary" runat="server" Width="99%" 
                    ImageSet="BulletedList" 
                    onselectednodechanged="tvDictionary_SelectedNodeChanged1" 
                    ShowExpandCollapse="False" ShowLines="True">
                    <ParentNodeStyle Font-Bold="False" />
                    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                    <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" 
                        HorizontalPadding="0px" VerticalPadding="0px" />
                    <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" 
                        HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
                </asp:TreeView>
            </td>
            <td style ="vertical-align:top">
                <table style="width:100%;">
        <tr>
            <td width="25%">
                Значение:</td>
            <td>
                <asp:TextBox ID="txtNodeVal" Text =<%# SelectedText %> runat="server" CssClass="TextBox" Width="99%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="25%">
                </td>
            <td>
                </td>
        </tr>
    </table></td>
        </tr>
        
        
    </table>
    
</asp:Content>

